package de.lns.level;
/**
 * 
 * @author Frederick Hastedt
 *
 */
public class Rectangle implements Shapes{
	
	/**
	 * 
	 * @param x: bottom left corner, X coordinate
	 * @param y: bottom left corner, Y coordinate
	 * @param w: width
	 * @param h: height
	 */
	public Rectangle(double x, double y, double w, double h){
		cornerX = x;
		cornerY = y;
		width = w;
		height = h;
	}


	private double cornerX;
	private double cornerY;
	private double width;
	private double height;
	
	/**
	 * 
	 * @return bottom left corner, X coordinate
	 */
	public double getCornerX() {
		return cornerX;
	}
	
	/**
	 * 
	 * @return bottom left corner, Y coordinate
	 */
	public double getCornerY() {
		return cornerY;
	}
	
	/**
	 *
	 * @return width
	 */
	public double getWidth() {
		return width;
	}
	
	/**
	 *
	 * @return height
	 */
	public double getHeight() {
		return height;
	}
	

}
